package com.ngkj.zmfptback.business.service.read.impl;

import com.ngkj.zmfptback.business.bean.Image;
import com.ngkj.zmfptback.business.mapper.read.ImageReadMapper;
import com.ngkj.zmfptback.business.service.read.ImageReadService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author ChenHN
 * @since 2021/12/30 creation
 **/
@Service
public class ImageReadServiceImpl implements ImageReadService {

    @Resource
    private ImageReadMapper imageReadMapper;

    @Override
    public List<Image> getImageListByTypeId(Long typeId) {
        return imageReadMapper.getImageListByTypeId(typeId);
    }

    @Override
    public List<Image> getImageListByIds(List<String> ids) {
        return imageReadMapper.getImageListByIds(ids);
    }
}
